package com.qianfeng.openapi.web.master.service;

import com.baomidou.mybatisplus.extension.api.R;
import com.qianfeng.openapi.web.master.dto.TableData;
import com.qianfeng.openapi.web.master.entity.ApiMapping;

import java.util.List;

/**
 * @Description:
 * @Company: 千锋互联
 * @Author: 李丽婷
 * @Date: 2020/11/25
 * @Time: 下午9:42
 */
public interface ApiMappingService {

    public TableData apiMappingTableList(String gatewayApiName, Integer state, int offset, int limit);

    R  addApiMapping(ApiMapping apiMapping);

    R batchDelete(List<Integer> id);

    R apiMappingInfo(int id);

    R  updateApiMapping(ApiMapping apiMapping);

}
